import * as type from './mutation-type'

const mutations =  {
  [type.SET_MENU_STATE](state, setMenu) {
    state.setMenu = setMenu
  },
  [type.SET_USER_INFO](state, userInfo) {
    state.userInfo = userInfo
  },
  [type.SET_CRRENT_MENU_INDEX](state, menuCrrentIndex) {
    state.menuCrrentIndex = menuCrrentIndex
  },
}

export default mutations